import { WeaTools } from 'ecCom';

const { callApi } = WeaTools;

const list = '/api/email/attachment/list';
const condition = '/api/email/attachment/condition';

export default {
	list: params => callApi(list, 'GET', params),
	condition: params => callApi(condition, 'GET', params),
};
